package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_link_group;

import cn.com.api.mapper.ApiU_link_groupMapper;

import cn.com.api.service.ApiU_link_groupService;

/**
 * 
 **/
@Service
public class U_link_groupServiceImplBase {
	@Autowired
	private ApiU_link_groupMapper apiU_link_groupMapper;
    
    // 根据id获取
	public ApiU_link_group findU_link_groupById(Integer id){
		ApiU_link_group u_link_group = apiU_link_groupMapper.findU_link_groupById( id );
		return u_link_group;
	}
    
    //查看数据集
	public List<ApiU_link_group> findU_link_groups(){
        List<ApiU_link_group> u_link_groups = apiU_link_groupMapper.findU_link_groups();
		return u_link_groups;
    }
    
	// 添加
	public int insertU_link_group(ApiU_link_group u_link_group){
		int ret_I= apiU_link_groupMapper.insertU_link_group(u_link_group);
		return ret_I;
	}

	// 修改
	public int updateU_link_group(ApiU_link_group u_link_group){
		int ret_I= apiU_link_groupMapper.updateU_link_group(u_link_group);
		return ret_I;
	}
	
    // 删除
	public int deleteU_link_group(Integer id){
		int ret_I= apiU_link_groupMapper.deleteU_link_group( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


